package vn.demand.dragon.controller
{
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	import vn.demand.dragon.model.SupplierProxy;
	
	public class RemoveSupplierCommand extends SimpleCommand
	{
		override public function execute( note:INotification ) :void    
		{
			var supplier:Object = note.getBody();
			var proxy:SupplierProxy = facade.retrieveProxy(SupplierProxy.NAME) as SupplierProxy
			proxy.remove(supplier);
        }
	}
}